package com.rustic.server.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
  import java.util.Date;
import lombok.Data;

/**
 * 表[rustic_admin]对应实体类
 *
 * @author auto
 *
 */

@Data
@TableName(value = "`rustic_admin`")
@ApiModel(value = "表rustic_admin的实体类")
public class RusticAdmin {

    /**
     * 自增ID
     */
    @ApiModelProperty(value = "自增ID", dataType = "Integer")
    @TableId(value="`id`",type = IdType.AUTO)
    private Integer id;

    /**
     * 乡村id
     */
    @ApiModelProperty(value = "乡村id", dataType = "int")
    @TableField("`rustic_id`")
    private int rusticId;

    /**
     * 管理员id
     */
    @ApiModelProperty(value = "管理员id", dataType = "int")
    @TableField("`admin_id`")
    private int adminId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", dataType = "int")
    @TableField("`role_id`")
    private int roleId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    @TableField("`create_time`")
    private Date createTime;

}
